package cn.edu.swust.adressbook.service.impl;

import android.content.Context;

import java.util.List;

import cn.edu.swust.adressbook.bean.CallLog;


public class CallLogServiceImpl extends BaseServiceImpl<CallLog> {

    public CallLogServiceImpl(Context context) {
        super(context);
    }

    @Override
    public List<CallLog> getAll() {
        return daoSession.getCallLogDao().loadAll();
    }

    @Override
    public CallLog get(Long id) {
        return daoSession.getCallLogDao().load(id);
    }

}
